package com.ct.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class HelloController {
    @RequestMapping("/world")
    public String hello() {
        System.out.println("hello spring");
        return "hello, spring!";
    }
}
